from sys import stderr, __stderr__
from os import getcwd
from os.path import join
from generator import list_write, list_read



path_error = join(getcwd(), "report.err")
stderr = open(path_error, 'a')


print('Будет обновлена таблица номеров в Mysql')

list_write(list_read())

stderr.close()
stderr = __stderr__
